import { createApp } from "vue";
import router from "./router";
import App from "./App.vue";
// vite 会编译 import 的形式；所以 electron 及 node.js 内置模块用 require 形式
// const { ipcMain } = require("electron");

import "./index.css";

const app = createApp(App as any);
app.use(router);
app.mount("#app").$nextTick(window.ClosePreloadLoading);
